generate Audio Thumbnail Sequence
Generate a thumbnail sequence for the given audio block or video fill. A thumbnail in this case is a chunk of samples in the range of 0 to 1. In case stereo data is requested, the samples are interleaved, starting with the left channel. Note: There can only be one thumbnail generation request in progress for a given block. Note: During playback, the thumbnail generation will be paused.
Return
a flow of AudioThumbnailResult object which emits numberOfSamples / samplesPerChunk times.
Parameters
the audio block or video fill.
the number of samples per chunk.
the time in seconds at which the thumbnail sequence should start.
the time in seconds at which the thumbnail sequence should end.
the total number of samples to generate.
the number of channels in the output. 1 for mono, 2 for stereo.